package it.win4buy.events
{
    /**
     *
     *	autore:
     *  pierangelo.mancusi@gmail.com
     *
     */

    import flash.events.Event;

    public class PlayEvent extends Event
    {

        public static const ALERT_STARTUP:String="PlayEvent.ALERT_STARTUP";

        public static const ALERT_REFRESH:String="PlayEvent.ALERT_REFRESH";

        //-------------------------------------------
        //
        // Injected properties
        //
        //-------------------------------------------


        //-------------------------------------------
        //
        // Private Properties
        //
        //-------------------------------------------

        private var _obj:Object;

        //-------------------------------------------
        //
        // Getters / Setters
        //
        //-------------------------------------------
        public function get obj():Object
        {
            return _obj;
        }

        public function set obj(value:Object):void
        {
            _obj=value;
        }


        //-------------------------------------------
        //
        // Constructor
        //
        //-------------------------------------------

        public function PlayEvent(type:String, obj:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
        {
            super(type, bubbles, cancelable);
            this.obj=obj;
        }

        override public function clone():Event
        {
            return new PlayEvent(type, obj, bubbles, cancelable);
        }


    }
}